package cn.net.zyx.service.impl;

import cn.net.zyx.dao.VideoMapper;
import cn.net.zyx.domain.Video;
import cn.net.zyx.service.VideoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * description: VideoServiceImpl <br>
 * date: 2021/5/7 09:39 <br>
 *
 * @author: ZhangYixin <br>
 * version: 1.0 <br>
 */
@Service
public class VideoServiceImpl implements VideoService {

    @Autowired
    private VideoMapper videoMapper;

    @Override
    public Video findById(int videoId) {
        return videoMapper.findById(videoId);
    }
}
